package com.example.day01;

import com.example.day01.bean.LogBean;
import com.example.day01.bean.RegBean;
import com.example.day01.bean.XiaBean;

import java.util.HashMap;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface Api {
    @POST("login")
    Observable<LogBean> login(@QueryMap HashMap<String,String> map);
    @POST("register")
    Observable<RegBean> register(@QueryMap HashMap<String,String>map);
    @GET("ios/cf/dish_list.php?")
    Observable<XiaBean> XiaData(@QueryMap HashMap<String,String>map);



}
